<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> 
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:form action="/novoDocumento" lang="true" enctype="multipart/form-data" >
    <body>
        <bean:message key="form.arquivo" /><br />  
        <html:file property="file" /> <br /><br />
        
        <bean:message key="form.descricao" /><br />
        <html:text property="descricao" /> <br /><br />

        <bean:message key="form.usuario" /><br />
        <html:select property="usuarioSelecionado">
            <html:option value="1"><bean:message key="form.selecione" /></html:option>
            <html:optionsCollection name="DocumentoForm" property="listaUsuarios" label="nome" value="codigo" />
        </html:select> <br /><br />

        <html:hidden name="DocumentoForm" property="method" />

        <html:submit><bean:message key="form.inserir" /></html:submit> <br/><br />
        <html:link page="/index.jsp"><bean:message key="form.voltar" /></html:link>
    </body>
</html:form>